

#include "DAP_config.h"
#include "DAP.h"

#ifdef MDLINK
#if (DAP_JTAG != 0)


void SPI_PORT_JTAG_SETUP(void)
{
 
}


void SPI_JTAG_Sequence (uint32_t info, const uint8_t *tdi, uint8_t *tdo) {
}

static void JTAG_IR_Fast(uint32_t ir)
{

}

static void JTAG_IR_Slow(uint32_t ir)
{
}

static uint8_t JTAG_TransferFast(uint32_t request, uint32_t *data)
{
  
}

static uint8_t JTAG_TransferSlow(uint32_t request, uint32_t *data)
{
}

// JTAG Read IDCODE register
//   return: value read
uint32_t SPI_JTAG_ReadIDCode (void) {

}


// JTAG Write ABORT register
//   data:   value to write
//   return: none
void SPI_JTAG_WriteAbort (uint32_t data) {

}


// JTAG Set IR
//   ir:     IR value
//   return: none
void SPI_JTAG_IR (uint32_t ir) {

}


// JTAG Transfer I/O
//   request: A[3:2] RnW APnDP
//   data:    DATA[31:0]
//   return:  ACK[2:0]
uint8_t  SPI_JTAG_Transfer(uint32_t request, uint32_t *data) {

}

#endif  /* (DAP_JTAG != 0) */
#endif  /* MDLINK */
